package cn.enjoy.design.behavior.strategy.springInitializingBeanPlus.service.impl;

import cn.enjoy.design.behavior.strategy.springInitializingBeanPlus.service.ProductCacheManager;
import org.springframework.stereotype.Service;

/**
 * @author K
 * @date 2022-11-21 21:20
 */
@Service
public class ProductTicketCacheProvider implements ProductCacheManager {

    @Override
    public Integer getType() {
        return 3;
    }

    @Override
    public void create() {
        System.out.println("门票商品创建缓存");
    }

}
